package tech.aistar.service;

import com.github.pagehelper.PageInfo;
import tech.aistar.pojo.Product;

import java.util.List;

public interface ProductService {
    List<Product> listAll();

    PageInfo<Product> page(Integer pageNum, Integer pageSize);
    
    PageInfo<Product> productNameLike(String likeKey,Integer pageNum, Integer pageSize);
}
